package com.work.Enum;

import com.work.service.impl.BussinessService;
import com.work.service.impl.FankServiceImpl;

/**
 * @ClassName ObjectEnum
 * @Description TODO
 * @Author Administrator
 * @Date 2019/3/6 0006 23:16:12
 * @Version 1.0.0
 **/
public enum ObjectEnum {

    SX(1, FankServiceImpl.class),
    DHH(2, BussinessService.class);

    private Integer code;

    private Object obj;

    ObjectEnum(Integer code, Object obj) {
        this.code = code;
        this.obj = obj;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public Object getObj() {
        return obj;
    }

    public void setObj(Object obj) {
        this.obj = obj;
    }
}
